class CommentController < ApplicationController
  def destroy
    @comment = Comment.find(params[:comment_id])
    @comment.destroy
    @topic = Topic.find( params[:topic_id] )
    @topic.comments.delete( @comment )
    redirect_to :controller=>"topics", :action=>"show", :id=>params[:topic_id]
  end

end
